﻿using System;

namespace Glue.Converters
{
    internal class DoubleFloatConverter:GlueDefaultConverter<double,float>
    {
        internal override float InternalMapTowardsRight(double from)
        {
            return Convert.ToSingle(from);
        }

        internal override double InternalMapTowardsLeft(float from)
        {
            return Convert.ToDouble(from);
        }
    }
}
